<template>
	<!-- 购买须知 -->
	<view>
		<!-- #ifdef APP-PLUS -->
		<view class="status_bar"></view>  
		<!-- #endif -->
		<navbar title="购买须知" />
		<view class="main">
			<rich-text :nodes="content"></rich-text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:0,
				content:'购买须知'
			}
		},
		onLoad(options) {
			this.getAgreement();
		},
		methods:{
			getAgreement(){
				this.$api.blindboxpurchase().then(res=>{
					this.content = res.purchase_notes;
				})
			}
		}
		
	}
</script>

<style>
page{
	padding: calc(var(--status-bar-height) + 100rpx) 0 30rpx;
}
.main{
	width: 690rpx;
	min-height: 1076rpx;
	background: #FFFFFF;
	border-radius: 20rpx;
	padding: 30rpx;
	margin: 30rpx 30rpx 0;
}
</style>
